package com.wuyb.socket;

import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/**
 * 用户连接
 *
 * @Author: wyb
 * @Date: 2024/01/04/16:04
 * @Description:
 */
public class SocketState {

    /**
     * 用户SessionID对应的用户信息的map
     */
    public static final ConcurrentMap<UUID, SocketUser> CONNECT_USER_MAP_UUID = new ConcurrentHashMap<>();

    public static final ConcurrentMap<Integer, SocketUser> CONNECT_USER_MAP_USERID = new ConcurrentHashMap<>();

}
